package com.haredot.dto;

import javax.validation.constraints.NotEmpty;

public class PasswordDTO {

    @NotEmpty(message = "原密码不允许为空")
    private String password;

    @NotEmpty(message = "新密码不允许为空")
    private String newPassword;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }
}
